package com.iptv.grape.bu.imp;

// 显示直播的频道菜单列表

import android.view.KeyEvent;

import com.iptv.grape.BaseActivity;
import com.iptv.grape.bu.AppState;
import com.iptv.grape.bu.GrapeContext;
import com.iptv.grape.bu.IKeyEventPorc;
import com.iptv.grape.video.XMediaPlayer;

// 显示直播的频道菜单
@AppState(isShowLiveMenu = false,keyVals = {23,66})
public class ShowLiveMenu implements IKeyEventPorc {

    @Override
    public void onKeyDownEvent(BaseActivity context, XMediaPlayer mediaPlayer, GrapeContext grapeContext, KeyEvent event) {
        grapeContext.loadLiveMenu(context);
    }
}
